/**
 * Created by billy on 2020/7/3.
 */


var rulesHash = {
	pre: require("./tag-pre")
};

/**
 * 根据规则池, 获取笔记选择区域
 * @param $options {start_ndex, end_ndex, baseNode, focusNode, html}
 * @return {{start_index: *, end_index: *}}
 */
export default function ($options)
{
	for (var k in rulesHash)
	{
		rulesHash[k]($options);
	}

	return {
		start_index: $options.start_index,
		end_index: $options.end_index,
	};
}